import request from "@/utils/request.js";


export function listGsiAll(){
  return  request({
    url: '/webshop/goodsSkuInfo/list',
    method: 'get',
  })
}
export function listGsi(){
  return  request({
    url: '/webshop/goodsSkuInfo/listByConeAll',
    method: 'get',
  })
}
export function listGoodsSkuInfo(queryParams){
  return  request({
    url: '/webshop/goodsSkuInfo/listForPage',
    method: 'get',
    params: queryParams
  })
}
export function getGoodsSkuInfo(id){
  return request({
    url: '/webshop/goodsSkuInfo/' + id,
    method: 'get',
  })
}

export function updateGoodsSkuInfo(form){
  return request({
    url: '/webshop/goodsSkuInfo',
    method: 'put',
    data: form
  })
}
export function addGoodsSkuInfo(form){
  return request({
    url: '/webshop/goodsSkuInfo',
    method: 'post',
    data: form
  })
}
export function delGoodsSkuInfo(ids){
  return  request({
    url: '/webshop/goodsSkuInfo/' + ids,
    method: 'delete'
  })
}

